#include"Stack.h"
int main()
{
	Stack s1;
	StackInit(&s1);
	StackPush(&s1, 1);
	StackPush(&s1, 2);
	StackPush(&s1, 3);
	StackPush(&s1, 4);
	StackPush(&s1, 40);
	printf("%d ", StackTop(&s1));
	StackPop(&s1);
	printf("%d ", StackTop(&s1));
	StackPop(&s1);
	printf("%d ", StackTop(&s1)); 
	StackPop(&s1);
	printf("%d ", StackTop(&s1)); 
	StackPop(&s1);
	printf("%d\n", StackTop(&s1));

	
	return 0;
}